<template>
	<view>
		子页面{{msg}}
		<button @click="hanldClick()">emit触发父组件方法</button>
	</view>
</template>

<script>
	export default {
		props:["msg"],
		data() {
			return {
				
			}
		},
		methods: {
			hanldClick(){
				this.$emit('parent',100)
			}
		}
	}
</script>

<style>

</style>
